package com.intellagric.service.traceability.trace_person;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.PersonVo;
import com.intellagric.pojo.TracePerson;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/11/6
 * @DESC： 人员信息管理服务接口
 */
public interface PersonService {

    //增加人员信息
    ResponseMessage addPerson(TracePerson person);

    //删除人员信息
    ResponseMessage deletePerson(String id);

    //修改人员信息
    ResponseMessage editPerson(TracePerson person);

    //查询人员信息
    TracePerson getPersonById(String id);
    LayuiDataGridResult getPersonList();
    LayuiDataGridResult getPersonPage(int page ,int rows);
    LayuiDataGridResult getPersonByVo(int page, int limit,PersonVo personVo);

}
